import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AdminComponent } from './admin.component';
import {GyslistComponent} from "./components/gyslist/gyslist.component";
import {RefertypelistComponent} from "./components/refertypelist/refertypelist.component";
import {HwlmlistComponent} from "./components/hwlmlist/hwlmlist.component";
import {GotoadminComponent} from "./components/gotoadmin/gotoadmin.component";
import {GwlistComponent} from "./components/gwlist/gwlist.component";
import {GlylistComponent} from "./components/glylist/glylist.component";
import {ZyzclistComponent} from "./components/zyzclist/zyzclist.component";

const routes: Routes = [
  { path: '', component: AdminComponent },
  { path: 'gyslist', component: GyslistComponent },
  { path: 'hwlmlist', component: HwlmlistComponent },
  { path: 'refertypelist', component: RefertypelistComponent },
  { path: 'gotoadmin', component: GotoadminComponent },
  {path: 'zyzc', component: ZyzclistComponent},
  {path: 'glysz', component: GlylistComponent},
  {path: 'gwsz', component: GwlistComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AdminRoutingModule { }
